package cn.ds.assets.module.assets.controller.admin.projectMember.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.ds.assets.framework.common.pojo.PageParam;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.ds.assets.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 项目成员 Excel 导出 Request VO，参数和 BaseProjectMemberPageReqVO 是一致的")
@Data
public class BaseProjectMemberExportReqVO {

    @Schema(description = "id")
    private Long[] ids;

    @Schema(description = "项目id", example = "1056")
    private Long projectId;

    @Schema(description = "用户id", example = "29662")
    private Long userId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "owner 拥有者 manager 管理者 use 使用者", example = "1")
    private String userType;

}
